import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import TimeLine from '@/components/TimeLineComponet'
import Refuting from '@/components/Refuting'
import InfoList from '@/components/InfoList'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/yiqing/',
      name: 'Index',
      component: Index
    },{
      path: '/yiqing/timeline',
      name: 'TimeLine',
      component: TimeLine
    },{
      path: '/yiqing/info/refuting',
      name: 'Refuting',
      component: Refuting
    },{
      path: '/yiqing/info/list',
      name: 'Info',
      component: InfoList
    }
  ]
})
